FROM idev10:5000/centos-java-python:1.1.1
LABEL version="1.1.0" \
      vendor="Sany.com"
WORKDIR /opt/portal
ADD evi-portal-web-1.0.0-SNAPSHOT.jar evi-portal.jar
RUN sh -c 'touch evi-portal.jar'
ENV JAVA_OPTS="" PARAMS=""
EXPOSE 8080 8000
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -jar ./evi-portal.jar $PARAMS" ]
